<%= form_for :spec do |form| %>
<fieldset>
	<legend>
		<%= @title %>
	</legend>
	<%= error_messages_for 'spec' %>
	<%= text_field_for form, "first_name","Nombre" %>
	<%= text_field_for form, "last_name", "Apellido" %>
	<div class="form_row">
		<label for="gender">Genero:</label>
		<%= radio_button :spec, :gender, "Male"%> Masculino
		<%= radio_button :spec, :gender, "Female" %> Femenino
	</div>
	<div class="form_row">
		<label for="birthdate">Cumpleaños:</label>
		<%= date_select :spec, :birthdate,
		:start_year => Spec::START_YEAR,
		:end_year => Time.now.year,
		:include_blank => true,
		:order => [:month, :day, :year] %>
	</div>
	<%= text_field_for form, "occupation","Ocupación" %>

	<%= text_field_for form, "city","Ciudad" %>
	<%= text_field_for form, "state", "Estado" %>
	<%= text_field_for form, "zip_code","Código Postal", Spec::ZIP_CODE_LENGTH %>

	<%= submit_tag "Actualizar", :class => "submit" %>
</fieldset>
<% end %> 